Program Readability: Procedures Versus Comments

نویسنده

  • Ted Tenny
چکیده

Abs&act-A 3 x 2 factorial experiment was performed to compare the effects of procedure format (none, internal, or external) with those of comments (absent or present) on the readability of a PL/I program. The readability of six editions of the program, each having a different combination of these factors, was inferred from the accuracy with which students could answer questions about the program after reading it. Both extremes in readability occurred in the program editions having no procedures: without comments the procedureless program was the least readable and with comments it was the most readable.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Traditional Versus Alternative Writing Assessment

The present study intended to evaluate EFL students' performance on a traditional method of writing assessment in comparison to an alternative assessment technique by taking into account the effects of teacher and peer feedback. Moreover, the attitudes of the participants regarding assessment procedures and activities were focused in this study. To this end, thirty male and female language lear...

متن کامل

Traditional Versus Alternative Writing Assessment

The present study intended to evaluate EFL students' performance on a traditional method of writing assessment in comparison to an alternative assessment technique by taking into account the effects of teacher and peer feedback. Moreover, the attitudes of the participants regarding assessment procedures and activities were focused in this study. To this end, thirty male and female language lear...

متن کامل

The Role of Method Chains and Comments in Software Readability and Comprehension - An Experiment

Software readability and comprehension are important factors in software maintenance. There is a large body of research on software measurement, but the actual factors that make software easier to read or easier to comprehend are not well understood. In the present study, we investigate the role of method chains and code comments in software readability and comprehension. Our analysis comprises...

متن کامل

HotComments: How to Make Program Comments More Useful?

Program comments have long been used as a common practice for improving inter-programmer communication and code readability, by explicitly specifying programmers’ intentions and assumptions. Unfortunately, comments are not used to their maximum potential, as since most comments are written in natural language, it is very difficult to automatically analyze them. Furthermore, unlike source code, ...

متن کامل

Lines of Comments as a Noteworthy Metric for Analyzing Fault-Proneness in Methods

This paper focuses on the power of comments to predict fault-prone programs. In general, comments along with executable statements enhance the understandability of programs. However, comments may also be used to mask the lack of readability in the program, therefore well-written comments are referred to as “deodorant to mask code smells” in the field of code refactoring. This paper conducts an ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 14  شماره 

صفحات  -

تاریخ انتشار 1988